package com.fit.dao.company;

import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.fit.entities.Company;

public interface CompanyDAO {

	@CommitAfter
	public boolean save(Company company);

	public Company findById(Long id);

	public List<Company> findAll();

	@CommitAfter
	public boolean deleteById(Long id);

	@CommitAfter
	public boolean update(Company company);

	public boolean checkUsers(Company company);
	
	public boolean checkRegistrations(Company company);

}
